Skip to content

Conversation

@naderzare
Copy link
Member

@naderzare naderzare commented Dec 18, 2024

This pull request includes a significant update to the docusaurus.config.ts file to integrate Algolia search functionality. The most important changes include configuring Algolia with necessary parameters and optional settings to enhance search capabilities.

Algolia search integration:

  • Added algolia configuration with essential parameters such as appId, apiKey, and indexName.
  • Enabled contextualSearch to improve search relevance based on the current context.
  • Included externalUrlRegex to specify domains where navigation should occur through window.location.
  • Configured replaceSearchResultPathname to handle URL replacements for different deployments.
  • Added optional settings like searchParameters, searchPagePath, and insights to customize search behavior.

By merging this PR, we will have a search box powered by Algolia
image
image

Copy link
Contributor

@SK2iP SK2iP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great feature tnx nader

@hidehisaakiyama hidehisaakiyama merged commit ec6eb93 into develop Dec 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants